﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.ModelForJD
{
    /// <summary>
    /// 根据客户账号和订单号分页查询服务单概要信息
    /// </summary>
    public class ServiceListPageForJD
    {
        /// <summary>
        /// 返回标识
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 返回描述
        /// </summary>
        public string resultMessage { get; set; }
        /// <summary>
        /// 返回编码
        /// </summary>
        public string resultCode { get; set; }
        /// <summary>
        /// 组件
        /// </summary>
        public AfsServicebyCustomerPinPage result { get; set; }
    }

    public class AfsServicebyCustomerPinPage
    {
        /// <summary>
        /// 总记录数
        /// </summary>
        public int totalNum { get; set; }
        /// <summary>
        /// 每页记录数
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pageNum { get; set; }
        /// <summary>
        /// 返回编码
        /// </summary>
        public int pageIndex { get; set; }
        /// <summary>
        /// 当前页数
        /// </summary>
        public List<AfsServicebyCustomerPin> result { get; set; }
    }

    public class AfsServicebyCustomerPin
    {
        /// <summary>
        /// 服务单号
        /// </summary>
        public int afsServiceId { get; set; }
        /// <summary>
        /// 服务类型码
        /// </summary>
        public int customerExpect { get; set; }
        /// <summary>
        /// 服务类型名称
        /// </summary>
        public string customerExpectName { get; set; }
        /// <summary>
        /// 服务单申请时间
        /// </summary>
        public long afsApplyTime { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public long orderId { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string wareId { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string wareName { get; set; }
        /// <summary>
        /// 服务单环节
        /// </summary>
        public int afsServiceStep { get; set; }
        /// <summary>
        /// 服务单环节名称
        /// </summary>
        public string afsServiceStepName { get; set; }
        /// <summary>
        /// 是否可取消
        /// </summary>
        public int cancel { get; set; }
    }
}
